import http from "../http.js";

export function insert(params) {
  return http.post("/nurseInfo/insert", params);
}

export function queryByPage(params) {
  return http.post("/nurseInfo/queryByPage", params);
}

export function queryById(params) {
  return http.get("/nurseInfo/queryById", params);
}
export function queryByOrder(params) {
  return http.get("/nurseInfo/queryByOrder", params);
}

export function update(params) {
  return http.post("/nurseInfo/update", params);
}
//查询银行卡
export function queryByBankId(params) {
  return http.get("/hospitalInfo/queryByBankId", params);
}
//添加银行卡
export function addBank(params) {
  return http.post("/hospitalInfo/addBank", params);
}
//删除银行卡
export function deleteByBankId(params) {
  return http.get("/hospitalInfo/deleteByBankId", params);
}
//提现
export function addNurseFinance(params) {
  return http.post("/hospitalInfo/addNurseFinance", params);
}
